home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 20
/
Aminet 20 (1997)(GTI - Schatztruhe)[!][Aug 1997].iso
/
Aminet
/
comm
/
www
/
HTP.lha
/
HTP
/
source
/
makefile
< prev
next >
Wrap
Makefile
|
1997-06-22
|
764b
|
47 lines
#
# makefile - htp
#
# HTML pre-processor
# Copyright (c) 1995-1996 Jim Nelson. All rights reserved.
# Amiga version 1997 Geert Bevin
#
#
# project name and memory model
#
MAIN = htp
#
# development tools
#
CC = gcc
LINK = gcc
#
# tool command-line options ... notice that these are geared towards GNU
#
CCOPT = -c -Wall -O2 -fstrength-reduce
LOPT = -lc -noixemul
#
# object files used
# declare OBJ2 if another line is needed
#
OBJ1 = $(MAIN).o image.o html.o ver.o textfile.o varstore.o msg.o gif.o jpeg.o option.o suballoc.o
#
# explicit dependency: final executable
#
$(MAIN) : $(OBJ1) $(OBJ2)
$(LINK) $(LOPT) -o $(MAIN) $(OBJ1) $(OBJ2)
#
# implicit dependencies for source code
#
.c.o :
$(CC) $(CCOPT) $(DEFINES) -o $*.o $<
clean:
rm $(OBJ1)